﻿using Caliburn.Micro;

namespace Torrenter.Client.Main.Framework
{
    public interface IMessage { }

    public static class MessageExtensionMethods
    {
        public static void PublishMessage(this IMessage message)
        {
            IoC.Get<IEventAggregator>().Publish(message);
        }
    }
}
